import { axiosInstance } from "@/utils/axios";

/**
 * 登录
 */
export function loginAPI(param) {
  return axiosInstance.post(`/user/login`, param);
}

/**
 * 注册
 */
export function registerAPI(param) {
  return axiosInstance.post(`/user/register`, param);
}

/**
 * 发送注册验证码
 */
export function sendRegisterCodeAPI(param) {
  return axiosInstance.post(`/user/validation_phone_number`, param);
}
